import request from './request.js';
let service = request.service;
let download = request.download;
export default {
    addRole(data) {
        /**新增角色 */
        return service({
            url: `/adscm/system/role/addRole`,
            method: 'post',
            data
        })
    },
    getAllRoles(){
        /**获取角色列表 */
        return service({
            url: `/adscm/system/role/getAllRoles`,
            method: 'post'
        })
    }

}
